@import "./anim.css";

:root {
  --color-border: #cecfd3;
  --color: #454644;
  --color-gray: #aaaa;
  --color-primary: #409eff;
  --color-back-title: #f5f7fa;
  --color-back-head: #e6eaf0;
  --color-shadow: #ddd9;
}

html {
  /* font-family: '黑体';
    font-family: serif, Arial, Helvetica, sans-serif;
    font-family: '微软雅黑'; */
  font-size: 14px;
  color: var(--color);
}
body {
  padding: 0;
  margin: 0;
  overflow: hidden;
}
div {
  /* scroll-behavior: smooth; */
  box-sizing: border-box;
}
.aux {
  color: #999;
  font-size: 13px;
}

.aux-gray {
  color: #aaa;
  /* font-weight: bold; */
}

.aux-mini {
  font-size: 0.7rem;
  color: var(--color-gray);
}

.modal {
  position: fixed;
  z-index: 100;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.modal-view {
  position: relative;
  overflow: auto;
  /* width: 80vw; */
  height: auto;
  margin: auto;
  /* width: auto; */
  display: inline-block;
  left: 50%;
  top: 40%;
  /* transform-origin: 0 0; */
  transform: translate(-50%, -50%);
  box-shadow: 0 0 3px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  box-shadow: 2px 4px 25px #ddd7, 0 0 15px 1px#ddd7;
}

.modal-view-head {
  padding: 5px 10px;
  min-height: 40px;
  border-bottom: 1px solid #ddd7;
}

.modal-view-body {
  padding: 10px;
  position: relative;
}

.modal-view-footer {
  padding: 10px;
  border-top: 1px solid #ddd7;
}

.modal-view-footer .btn {
  margin: 0 2px;
}

.padding-10px {
  padding: 10px;
}

.flex-start {
  display: flex;
}

.click {
  cursor: pointer;
  transition: opacity 0.15s;
}

.click:hover {
  opacity: 0.8;
}

.click:active {
  opacity: 1;
}

.underline {
  text-decoration: underline;
}

.text-nowrap {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-row-center {
  display: flex;
  align-items: center;
}

.blod {
  font-weight: bold;
}

.margin-right-5px {
  margin-right: 5px;
}

.margin-right-10px {
  margin-right: 10px;
}

.margin-right-15px {
  margin-right: 15px;
}

.margin-right-20px {
  margin-right: 20px;
}
select,
button,
input,
.textarea {
  background: transparent;
  border: 1px solid transparent;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 2px 10px;
  margin: 0;
  outline: none;
  box-sizing: border-box;
  min-height: 30px;
  transition: 0.3s;
  font-size: 0.9rem;
  /* color: #bb8e2c; */
  /* color: #63470c; */
  line-height: normal;
  /* color: rgb(184, 168, 148); */
}
.textarea {
  min-height: 80px;
  font-family: initial;
}
::placeholder {
  vertical-align: middle;
  color: var(--color-gray);
  line-height: normal;
}

button {
  border-color: #ddd9;
}

.input {
  flex-grow: 1;
}

.input input {
  width: 100% !important;
}

.btn-link {
  color: var(--color-primary);
  fill: var(--color-primary);
  transition: 0.3s;
  text-decoration: underline;
  margin: 0 5px;
  cursor: pointer;
}

.btn-link:hover {
  /* color: #db821c;
    fill: #db821c; */
}

.btn {
  cursor: pointer;
  outline: none;
  padding: 5px 12px;
  border-radius: 2px;
  margin: 0 5px;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  fill: var(--color);
  transition: 0.2s;
  font-size: 0.8rem;
}

/* .btn:hover {
  border-color: var(--color-primary);
    color: var(--color-primary);
    fill: var(--color-primary);

} */

.btn svg:first-child {
  margin-right: 4px;
}

.btn-text svg:first-child {
  margin-right: 2px;
}
.btn-border {
  cursor: pointer;
  outline: none;
  padding: 2px 4px;
  margin: 0 2px;
  border: 1px solid #916a3047;
  border-radius: 3px;
}

.btn-text {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  fill: var(--color-primary);
  padding: 4px 2px;
  margin: 0 5px;
  transition: 0.2s;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
}
.btn-text-small {
  font-size: 0.85rem;
  margin: 0 4px;
  padding: 2px 2px;
}
.btn-text:hover {
  opacity: 0.8;
}

.btn-text:active {
  opacity: 1;
}

.btn-mini {
  font-size: 0.8rem;
}

.max-width-200px {
  max-width: 200px;
  flex-grow: 0;
}

.icon {
  width: 1rem;
  height: 1rem;
  fill: #777;
  fill: var(--color-primary);
  flex-shrink: 0;
}

.icon-small {
  width: 0.85rem;
  height: 0.85rem;
}

.icon-mini {
  width: 0.75rem;
  height: 0.75rem;
}

.icon-large {
  width: 1.2rem;
  height: 1.2rem;
}

.icon-format {
  fill: #91540faa;
}

.icon-desc {
  fill: #a0959779;
}

.icon-desc-active {
  fill: #91540faa;
  /* filter: drop-shadow(1px 1px 3px #f00); */
}

.icon-tips {
  fill: #a0959779;
  width: 20px;
  height: 20px;
}

.icon-gray {
  fill: #bbb;
}

.logo {
  fill: var(--color-primary);
  /* background: linear-gradient(left, #f00 0%, #fff 100%); */
}

.btn-format {
  padding: 0px 4px;
  user-select: none;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-column-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-row-between {
  display: flex;
  justify-content: space-between;
}

.flex-row-around {
  display: flex;
  justify-content: space-around;
}

.abs {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

/*  */
.info {
  color: #2db7f5;
}

.success {
  color: #19be6b;
}

.warning {
  color: #ff9900;
}

.error {
  color: #ed4014;
}
.gray {
  color: var(--color-gray);
}
/* icon */
.icon-larger {
  font-size: 26px;
}

.icon-large {
  font-size: 18px;
}

.icon-normal {
  font-size: 18px;
}
